package com.itheima.service.impl;

import com.itheima.service.AopService;
import org.springframework.stereotype.Service;

/**
 * @Author 王加鑫
 * @Date 2021/08/03 18:43
 * @Since JDK 1.8
 */
@Service
public class AopServiceImpl implements AopService {

    public void save() {
        int num = 10/0;
        System.out.println("AopServiceImpl run ...");
    }

    public Integer getSum(int a,int b) {
        int count = 10/0;
        return a + b;

    }
}
